﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" CodeFile="Ungtuyen.ascx.vb"
    Inherits="NVPortal.Modules.NVTuyenDung.ungtuyen" %>
<%@ Register Assembly="DotNetNuke.WebControls" Namespace="DotNetNuke.UI.WebControls"
    TagPrefix="DNN" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls"%>
<link href="/Jquery/themes/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
<script src="/Resources/Shared/scripts/jquery/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript" src="/js/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" language="javascript" src="/js/jquery.ui.datepicker-vi.js"></script>
<style type="text/css">
.UserTitle {height: 30px; font-family: Arial; font-size: 22px; color: #005594; font-weight: bold; border-bottom: solid 1px #efefef; padding-left: 40px; }    
.UserTitle2 {height: 30px; font-family: Arial; font-size: 18px; color: #ff9900; font-weight: bold; padding-left: 10px; padding-top: 15px; }    
.UserIcon1 {background: url(/Portals/_default/skins/TuyenDung/images/inconthongtin.jpg) left no-repeat;}
.UserIcon2 {background: url(/Portals/_default/skins/TuyenDung/images/inconthongtin2.jpg) left no-repeat;}
.UserTuyenDungtd1 { border-top: solid 1px #fff;border-bottom: solid 1px #efefef; font-family: Arial; font-size: 12px; padding: 5px 5px 5px 0px; text-align: right;
    }
.UserTuyenDungtd1a {height: 20px; border-top: solid 1px #fff; border-bottom: solid 1px #efefef; font-family: Arial; font-size: 12px; padding: 7px 5px 7px 0px;}
.UserTuyendungName {font-size: 16px;color: #ff9900;font-family: Arial,Verdana,sans-serif;margin: 0; font-weight: bold;}
.UserTuyendungMa {font-size: 16px;color: red;font-family: Arial,Verdana,sans-serif;margin: 0; font-weight: bold; text-transform: uppercase;}
.textinput {padding: 3px;border-radius: 3px;font-family: arial;font-size: 12px;border: 1px solid #BBBBBB; width: 200px; height: 23px;}
.usertuyendungNametext {text-transform: uppercase; font-weight: bold; font-family: Tahoma;}
.UserTuyenDungChecltext {color: red;}
</style>

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-bottom: 10px;">
    <tr>
        <td class="UserTuyenDungtd1">
            Vị trí tuyển dụng
        </td>
        <td class="UserTuyenDungtd1a">
            <asp:Label CssClass="UserTuyendungName" ID="lblVitrituyendung" runat="server"></asp:Label>
        </td>
        <td class="UserTuyenDungtd1">
            Mã Hồ Sơ:
        </td>
        <td class="UserTuyenDungtd1a">
            <asp:Label CssClass="UserTuyendungMa" ID="lblMaHoSo" runat="server"></asp:Label>
        </td>
    </tr>
    <tr><td colspan="4" id="chkInputText" runat="server" visible="false" style=" padding: 10px;font-family: Arial; font-size: 21px; font-weight: bold; color: red">Bạn phải nhập đầy đủ thông tin</td></tr>
</table>
<table style="width:100%" cellpadding="0" cellspacing="0" border="0px">
    <tr><td colspan="6" class="UserTitle UserIcon1">Thông tin ứng viên</td></tr>
    <tr>
        <td class="UserTuyenDungtd1">Họ và tên</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtFirstName" cssclass="textinput usertuyendungNametext"></asp:textbox></td>
        <td class="UserTuyenDungtd1">Tên</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtLastName" cssclass="textinput usertuyendungNametext" Width="100px"></asp:textbox></td>
        <td rowspan="6" width="200px;" style="vertical-align: bottom; text-align: center; margin: 5px; border: solid 1px #eee;" class="UserTuyenDungtd1">
            Ảnh cá nhân<br /><br />
            <br />
            <asp:image id="imgNews" runat="server" Width="140" Height="180px" Visible="False"></asp:image><br />
            <input id="txtFile" type="file" accept="image/gif, image/jpeg, image/png, image/jpg" class="textinput" name="txtFile" runat="server" /><br /><br />
			<asp:linkbutton id="lbtUpload" runat="server"><font style="color: red; font-weight: bold">(Tải lên)</font></asp:linkbutton>
            | *.jpg, *.gif,*.png</td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Dân tộc</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtDantoc" cssclass="textinput"></asp:textbox></td>
        <td class="UserTuyenDungtd1">Giới tính</td>
        <td class="UserTuyenDungtd1a"><asp:DropDownList runat="server" id="dllSex" cssclass="textinput" Width="100px"></asp:DropDownList></td>
        
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Tôn giáo</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtTongiao" cssclass="textinput"></asp:textbox></td>
        <td class="UserTuyenDungtd1">Ngày sinh</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtNgaySinh" cssclass="textinput DatetimePicker_Textbox" Width="100"></asp:textbox></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Nơi sinh</td>
        <td colspan="3" class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtNoisinh" cssclass="textinput" Width="390px"></asp:textbox></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">CMND số</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtSoCMT" cssclass="textinput"></asp:textbox><br />
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtSoCMT" ErrorMessage="Nhập số CMT" CssClass="UserTuyenDungChecltext" ValidationExpression="^[0-9]*$" ValidationGroup="NumericValidate"></asp:RegularExpressionValidator>
        </td>
        <td class="UserTuyenDungtd1">Ngày cấp</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtCMTNgaycap" cssclass="textinput DatetimePicker_Textbox" Width="100"></asp:textbox></td>
    </tr>
     <tr>
        <td class="UserTuyenDungtd1">Nơi cấp</td>
        <td colspan="3" class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtCMTNoicap" cssclass="textinput" Width="390px"></asp:textbox></td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr>
        <td class="UserTuyenDungtd1">Tình trạng hôn nhân</td>
        <td class="UserTuyenDungtd1a"><asp:DropDownList runat="server" id="ddlHonNhan" cssclass="textinput" Width="155px"></asp:DropDownList></td>
        <td class="UserTuyenDungtd1">Chiều cao </td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtChieucao" cssclass="textinput" Width="40px"></asp:textbox><i>(cm)</i></td>
        <td class="UserTuyenDungtd1">Cân nặng</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtCanNang" cssclass="textinput" Width="40px"></asp:textbox><i>(kg)</i></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Điện thoại (Di động)</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtMobile" cssclass="textinput" Width="180px"></asp:textbox></td>
        <td class="UserTuyenDungtd1">Địa chỉ Email</td>
        <td class="UserTuyenDungtd1a" colspan="3"><asp:textbox runat="server" id="txtEmail" cssclass="textinput"></asp:textbox><br />
        <asp:RegularExpressionValidator CssClass="UserTuyenDungChecltext" ID="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"  ErrorMessage="Email không chính xác"></asp:RegularExpressionValidator>  
        </td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Hộ khẩu thường trú</td>
        <td colspan="5" class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtAddress" cssclass="textinput" Width="525px"></asp:textbox></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Địa chỉ liên hệ</td>
        <td colspan="5" class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtAddressLienhe" cssclass="textinput" Width="525px"></asp:textbox></td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-top: 15px;">
    <tr><td class="UserTitle UserIcon2" colspan="4">Quá trình làm việc</td></tr>
    <tr><td class="UserTitle2" colspan="4">Thông tin công ty gần đây nhất</td></tr>
    <tr>
        <td class="UserTuyenDungtd1">Tên công ty</td>
        <td class="UserTuyenDungtd1a" colspan="3"><asp:textbox runat="server" id="txtcongtyName" cssclass="textinput" Width="525px"></asp:textbox></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Địa chỉ công ty</td>
        <td class="UserTuyenDungtd1a" colspan="3"><asp:textbox runat="server" id="txtcongtyAdd" cssclass="textinput" Width="525px"></asp:textbox></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Chức vụ</td>
        <td class="UserTuyenDungtd1a" colspan="3"><asp:DropDownList runat="server" id="ddlChucvu" cssclass="textinput"></asp:DropDownList></td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1">Từ ngày</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtcongtyStart" cssclass="textinput DatetimePicker_Textbox"></asp:textbox></td>
        <td class="UserTuyenDungtd1">Đến ngày</td>
        <td class="UserTuyenDungtd1a"><asp:textbox runat="server" id="txtcongtyEnd" cssclass="textinput DatetimePicker_Textbox"></asp:textbox></td>
    </tr>
    <tr>
    <td  class="UserTuyenDungtd1">Tải files CV</td>
    <td colspan="3" class="UserTuyenDungtd1a">Tải hồ sơ từ máy tính (*.docx, *.xlsx,*.doc, *.xls, *.pdf, *.zip, *.rar) nhỏ hơn 4Mb <br />
        <input id="iptFileCV" type="file" accept="image/gif, image/jpeg, image/png, image/jpg" class="textinput" name="txtFile" runat="server" /><br />
			<asp:linkbutton id="lbtUpFileCV" runat="server"><font style="color: red; font-weight: bold">(Tải lên)</font></asp:linkbutton>
            <br />(File (*.pdf, *.doc,*.docs))
            <br />
            <asp:RegularExpressionValidator CssClass="UserTuyenDungChecltext" ID="RegularExpressionValidator3" runat="server" ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))(.zip|.pdf|.PDF|.doc|.docx|.xls|.XLS|.xlsx|.XLSX)$*" ControlToValidate="iptFileCV"  ErrorMessage="Email không chính xác"></asp:RegularExpressionValidator>  
    </td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1"><b>MÃ XÁC NHẬN</b></td>
        <td colspan="3" class="UserTuyenDungtd1a">
            <dnn:captchacontrol id="ctlCaptcha" captchawidth="150" captchaheight="40" cssclass="Normal" runat="server" errorstyle-cssclass="NormalRed" />
        </td>
    </tr>
    <tr>
        <td class="UserTuyenDungtd1"></td>
        <td colspan="3" class="UserTuyenDungtd1a">
            <asp:linkbutton id="lbtUpdateBottom" runat="server" Font-Bold="True"><img src="/images/submitfeedback.png" style="border: 0px;" alt="Cập nhật" /></asp:linkbutton>
        </td>
    </tr>
</table>

<script type="text/javascript" language="javascript">
    $(function () {
        // Datepicker
        $('.DatetimePicker_Textbox').datepicker({
            dateFormat: "dd/mm/yy",
            inline: true,
            showAnim: 'slideDown',
            duration: 100,
            changeMonth: true,
            changeYear: true,
            showWeek: false,
            showOn: 'both',
            buttonImage: '/images/calendar2.png',
            buttonImageOnly: true,
            showButtonPanel: true
        });
    });
</script>